FROM java:8

COPY *.jar /app.jar
# 注意修改端口号避免冲突
CMD ["--server.port=8993"]

EXPOSE 8080

ENTRYPOINT ["java","-jar","/app.jar"]